#ifndef __LNW_TIM_H__
#define __LNW_TIM_H__

typedef struct lnw_tim_s
{
    unsigned char sec;
    unsigned char min;
    unsigned char hour;
    unsigned char week;
    unsigned char day;
    unsigned char mon;
    unsigned char year;
} lnw_tim_t;


#ifdef __cplusplus
extern "C" {
#endif
int lnw_localtime(lnw_tim_t *_time);
unsigned int lnw_ticks(void);
unsigned int lnw_elapsed(unsigned int *ts);
#ifdef __cplusplus
}
#endif
#endif
